using System;
using OrangeProject.ReactiveList.Core.Client;

namespace OrangeProject.ReactiveList.Core.Communication
{
    public interface ITransportCore : IDisposable
    {
        void SendState(DataBody data, SendTo to);
        void ReceiveState(Action<DataBody> receivedAction);
        DataContext DataContext { get; set; }
    }

    public enum SendTo
    {
        Client,
        Server
    }
}

